package com.wuzhen.wzzt.service.impl;

import com.wuzhen.wzzt.core.universal.AbstractService;
import com.wuzhen.wzzt.dao.db1.EnrollMapper;
import com.wuzhen.wzzt.model.EnrollUser;
import com.wuzhen.wzzt.service.EnrollService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
* @Description: RolePermService接口实现类
* @author zhengzheng
* @date 2020/04/01 00:35
*/
@Service
public class EnrollServiceImpl extends AbstractService<EnrollUser> implements EnrollService {

    @Resource
    private EnrollMapper enrollMapper;

    public  Map<Long,Map<String,Long>> selectSeq(){
      return   enrollMapper.selectSeq();
    }

    @Override
    public int updateEnrollData(EnrollUser enrollUser) {
        return enrollMapper.updateEnrollData(enrollUser);
    }

    List<EnrollUser> selectEnrollUserByActiveNo(String activeNo){
        return enrollMapper.selectEnrollUserByActiveNo(activeNo);
    }
}